<?php

	include("Connection.php");

	$query = "	UPDATE member
				SET 	(DrivingPlan='${_POST['plan']}')
				WHERE 	(Username='${_SESSION['username']}');
	";
	$result = mysql_query($query);
	
	if(!$result){
		die("Can't execute".mysql_error());
	}
	mysql_close($link);
	header("Location: https://academic-php.cc.gatech.edu/groups/cs4400_Group_7/PaymentInformation.php");
?>
